<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <link rel="stylesheet" href="/assets/lib/bootstrap.css">
  <link rel="stylesheet" href="/assets/lib/layui/css/layui.css">
  <link rel="stylesheet" href="/assets/css/login.css">
</head>

<body>
  <header class="layui-main">
    <div class="logo">
      <a href="javascript:;">大事件</a>
    </div>
  </header>
  <main class="all-form">
    <div class="title"></div>
    <!-- 登录 -->
    <section class="login-list" id="login-list">
      <form class="layui-form" action="">
        <div class="layui-form-item">
          <i class="layui-icon layui-icon-username"></i>
          <input type="text" name="title" lay-verify="required|username" placeholder="请输入账号" autocomplete="off"
            class="layui-input username-input" value="wzyssg">
        </div>
        <div class="layui-form-item">
          <i class="layui-icon layui-icon-password"></i>
          <input type="password" name="title" lay-verify="required|pass" placeholder="请输入密码" autocomplete="off"
            class="layui-input password-input" value="123456">
        </div>
        <div class="layui-form-item">
          <button class="layui-btn layui-btn-normal btn" lay-submit lay-filter="formDemo">登录</button>
        </div>
        <div class="layui-form-item">
          <a class="go-register" id="go-register">去注册</a>
        </div>
      </form>
    </section>
    <!-- 注册 -->
    <section class="register-list" id="register-list">
      <form class="layui-form" action="">
        <div class="layui-form-item">
          <i class="layui-icon layui-icon-username"></i>
          <input type="text" name="title" lay-verify="required|username" placeholder="请输入账号" autocomplete="off"
            class="layui-input username-input">
        </div>
        <div class="layui-form-item">
          <i class="layui-icon layui-icon-password"></i>
          <input type="password" name="title" lay-verify="required|pass" placeholder="请输入密码" autocomplete="off"
            class="layui-input password-input">
        </div>
        <div class="layui-form-item">
          <i class="layui-icon layui-icon-password"></i>
          <input type="password" name="title" lay-verify="required|pass|regpass" placeholder="请确认密码" autocomplete="off"
            class="layui-input">
        </div>
        <div class="layui-form-item">
          <button class="layui-btn layui-btn-normal btn" lay-submit lay-filter="formDemo">注册</button>
        </div>
        <div class="layui-form-item">
          <a class="go-login" id="go-login">去登录</a>
        </div>
      </form>

    </section>
  </main>
</body>
<script src="/assets/lib/jquery.js"></script>
<!-- 引入发送ajax的默认配置 -->
<script src="/assets/js/baseAPI.js"></script>
<script src="/assets/lib/layui/layui.all.js"></script>
<script src="/assets/js/login.js"></script>

</html>
